package com.situ.science.pojo.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.NumberFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class ProjectExcelVo implements Serializable {
    @NumberFormat(pattern = "#")
    @ExcelProperty("ID")
    private Integer id;
    @ExcelProperty("项目名称")
    private String name;
    @ExcelProperty("所属竞赛")
    private String contest;
    @ExcelProperty("申请人")
    private String researchers;
    @ExcelProperty("所属学院")
    private String faculty;
    @ExcelProperty("申请资金")
    private double declareFunds;
    @ExcelIgnore
    private String content;
    @ExcelIgnore
    private Integer deleted;
    @ExcelProperty("提交时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date declarationDate;
    @ExcelProperty("状态")
    private Integer approveId;
    @ExcelIgnore
    private String commit;
    @ExcelIgnore
    private String researchersId;
    @ExcelIgnore
    private Integer contestId;
}
